15. Endpoints & REST APIs
Quiz on Endpoints & REST APIs
First let's make sure you understand the language associated with your model deployment.
QUIZ QUESTION::
In the previous section, you learned that the endpoint is the interface that allows for communication between the model and the application.
Match the Python Program feature that best represents the Machine Learning Deployment feature below.
ANSWER CHOICES:
|
Machine Learning Deployment Feature |
Python Program Feature |
|---|---|
Application |
|
Model |
|
Endpoint |
|
User's Data |
|
Model's Prediction |
SOLUTION:
|
Machine Learning Deployment Feature |
Python Program Feature |
|---|---|
|
Model's Prediction |
|
|
Model |
|
|
Endpoint |
|
|
User's Data |
|
|
Application |
Question 2
Next let's make sure you are comfortable with the web language that is associated with how your model application and the software application communicate with one another.
QUIZ QUESTION::
For each statement, match the phrase that best completes it.
ANSWER CHOICES:
|
Statements |
Missing Phrases |
|---|---|
The HTTP request that’s sent from your application to your model uses a |
|
The Message in the HTTP request contains the |
|
The Message in the |
|
The message in the HTTP request or response contain user's data or predictions in |
SOLUTION:
|
Statements |
Missing Phrases |
|---|---|
|
The Message in the |
|
|
The Message in the HTTP request contains the |
|
|
The message in the HTTP request or response contain user's data or predictions in |
|
|
The HTTP request that’s sent from your application to your model uses a |